<template>
	<view class="content">
		<view class="title">
          订购店铺：成都NICE造型美发沙龙
         </view>
		 <!-- 列表 -->
		 <view class="list" v-for="(item,index) in 3" >
			<view :class="{box:true,clear_border:index==2}">
				<view class="infor">
								 <view class="name">
									 <view class="text">**商城基础版</view>
									 <view class="text1">x1</view>
								 </view>
								 <view class="">
									 <text class="time">时间:</text><text class="number">1年</text>
								 </view>
								 <view class="price">￥588.00</view>
				</view>
			</view>
		
		 </view>
		 <!-- 合计 -->
		 <view class="count">
		 	<text class="serve">共3个服务</text><text class="totalprice">合计:￥183800.00</text>
		 </view>
		 <!-- 底部价格，提交 -->
		 <view class="bottom">
		 	<view class="price">
		 		<text>合计:</text><text class="text_price">￥{{183800.00}}</text>
		 	</view>
		 	<view class="btn" @click="subimt">
		 		<text>立即支付</text>
		 	</view>
		 </view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		methods:{
			subimt(){
				uni.showToast({
					title:'功能开发中',
					icon:'none'
				})
			}
		}
	}
</script>
<style>
	page{
		background: #EEEEEE;
	}
	
</style>
<style scoped lang="less">
	.content{
		.title{
			// height: 93rpx;
			padding: 34rpx 26rpx;
		
			background: white;
			margin-bottom: 10rpx;
			font-size: 26rpx;
			font-family: PingFang SC;
			font-weight: bold;
			color: #414141;
		}
		.box{
				border-bottom: 1rpx solid #B4B4B4;
				width: 100%;
				
		}
		.clear_border{
			border-bottom:  none!important;
		}
		//列表
		.list{
			padding: 28rpx 25rpx;
				padding-bottom: 0rpx!important;
			display: flex;
			background: white;
		
			.infor{
				width: 100%;
				display: flex;
				flex-direction: column;
				justify-content: space-between;
				.name{
					display: flex;
					flex-direction: row;
					justify-content: space-between;
					.text{
						font-size: 26rpx;
						font-family: PingFang;
						font-weight: 500;
						color: #000000;
					}
					.text1{
						font-size: 22rpx;
						font-family: PingFang;
						font-weight: 500;
						color: #282828;
					}
				}
				.time{
					margin-right: 10rpx;
					font-size: 22rpx;
					font-family: PingFang;
					font-weight: 500;
				}
				.number{
					color: #777777;
					font-size: 22rpx;
				}
				.price{
					font-size: 22rpx;
					font-family: PingFang SC;
					font-weight: 400;
					color: #00C6C2;
					margin-bottom: 10rpx;
				}
			}
		}
	
		//合计
		.count{
			display: flex;
			justify-content: flex-end;
			align-items: center;
			padding: 34rpx 28rpx;
			background-color: white;
			margin-top: 10rpx;
			.serve{
				font-size: 22rpx;
				font-family: PingFang SC;
				font-weight: 400;
				color: #8E8E8E;
				
			}
			.totalprice{
				font-size: 26rpx;
				font-family: PingFang;
				font-weight: 500;
				color: #000000;
				margin-left: 21rpx;
			}
		}
		//底部提交
		.bottom{
			position: fixed;
			bottom: 0;
			display: flex;
			height: 165rpx;
			width: 100%;
			background-color: white;
			justify-content: space-around;
			align-items: center;
			.price{
				
				font-size: 32rpx;
				font-family: PingFang;
				font-weight: 500;
				color: #000000;
				.text_price{
					
					font-weight: bold;
				}
			}
			.btn{
				width: 232rpx;
				height: 94rpx;				
				background: #00C6C2;
				border: 1rpx solid #00C6C2;
				border-radius: 0rpx 4rpx 4rpx 0rpx;
				text-align: center;
				line-height: 94rpx;
				text{
					opacity: 0.8;
					font-size: 36rpx;
					font-family: PingFang;
					font-weight: 500;
					color: #FFFFFF;
				}
			}
		}
	}
</style>
